#include "GameObject.h"

class Projectile : public GameObject
{
public:
	Projectile(GameObject* owner, int x, int y);
	Projectile(long long id, GameObject* owner, int x, int y);
	~Projectile(void);

	virtual void DestroyData(void);
	virtual void Copy(void* address);
	virtual void Update(void);
	virtual void Draw(void);
	virtual int GetObjSize(void);
	virtual SDL_Texture* GetTexture(void);


	bool Collides(GameObject* obj);
	GameObject* GetOwner(void);
private:
	int				m_speed;
	GameObject*		m_owner;
};